﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace ConsoleApplication1
{
    class Class_Dataarr
    {

        static void AddPatient(Patient p)
        {
            string str = "10,hh,sss,sss,10-now-2014";
            Patient p1 = new Patient();
            string[] elements = str.Split(',');
            p1.id = Convert.ToInt32(elements[0]);
            p1.name = elements[1];
            p1.dateofBirth = Convert.ToDateTime();


            //string str = p.id.ToString() + ",";
            //str += p.name + ",";
            //str += p.surName + ",";
            //str += p.patronymic + ",";
            //str += p.dateofBirst + ",";
            //string.Format=()
        }


        static void DeletePatient(int id)
        {
            
        }
        static ArrayList GetPatientList()
        {

        }
        
        static void AddPatient(Patient p)
        {
        }
    }
}
